<?php /* Smarty version 2.6.26, created on 2018-07-20 02:32:03
         compiled from E:%5CWWW%5C40.125.208.171%5Cvweb/admin%5Ctemplates/goods_order/check.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="nav"><span>订单检测</span></div>
<script type="text/javascript">
<?php if ($_GET['status'] == ''): ?>
location.href="?m=goods_order&a=check&status=1";
<?php endif; ?>
</script>
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>对于下了订单未支付，超出规定时间为确认收款的，需要管理员定时处理该数据。</p>
		<p>具有条件的用户可以使用定时任务进行执行。</p>
	</div>
</div> 
<div class="filter"> 
	<a href="?m=goods_order&a=check&status=1" class="option <?php if ($_GET['status'] == '1'): ?>option_ch<?php endif; ?>">过期未支付订单</a>
	<a href="?m=goods_order&a=check&status=2" class="option <?php if ($_GET['status'] == '2'): ?>option_ch<?php endif; ?>">过期未确认收货</a> 
	<a href="?m=goods_order&a=check&status=3" class="option <?php if ($_GET['status'] == '3'): ?>option_ch<?php endif; ?>">拼单未组团检测</a> 
</div> 
<div class="main"> 
	<table class="etable">
		<?php if ($_GET['status'] == '1' || $_GET['status'] == ''): ?> 
			<tr>
				<td width="120px">交易中的订单：</td>
				<td><?php echo $this->_tpl_vars['row']['total_yx']; ?>
 </td>
			</tr>
			<tr>
				<td>未支付过期订单：</td>
				<td><?php echo $this->_tpl_vars['row']['total_gq']; ?>
 (未支付订单未支付将失效，可对失效订单进行删除。)</td>
			</tr> 
		<?php elseif ($_GET['status'] == '2'): ?> 
			<tr>
				<td width="120px">发货未确认的：</td>
				<td><?php echo $this->_tpl_vars['row']['total_yx']; ?>
 </td>
			</tr>
			<tr>
				<td>超时未确定的：</td>
				<td><?php echo $this->_tpl_vars['row']['total_gq']; ?>
 (用户时间范围内为确认操作)</td>
			</tr> 
		<?php elseif ($_GET['status'] == '3'): ?> 
			<tr>
				<td width="120px">正在拼团：</td>
				<td><?php echo $this->_tpl_vars['row']['total_yx']; ?>
 (拼团正在进行中) </td>
			</tr>
			<tr>
				<td>超时拼团失败：</td>
				<td><?php echo $this->_tpl_vars['row']['total_gq']; ?>
 (支付时间已到，拼团未成功。 <span style="color:#f00;">拼团失败将会退款到账户。</span>)</td>
			</tr>
		<?php endif; ?> 
		<tr>
			<td>&nbsp;</td>
			<td><a href="?m=goods_order&a=check_run&status=<?php echo $_GET['status']; ?>
" class="submit">执行过期操作</a></td>
		</tr> 
	</table> 
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>